% start preamble
\documentclass[a4wide,11pt]{book} 
% ============================= Packages ================================ %

\RequirePackage{a4wide}                          	% make better use of A4 paper
\usepackage{color}
\usepackage{amsmath} 
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{emptypage}
\usepackage{eso-pic}                                % picture in back/forground (used in cover)
\usepackage{pdfpages}
\usepackage[numbers]{natbib}
\usepackage{bchart}
\usepackage{tikz} 
\usetikzlibrary{shapes,arrows,mindmap,trees,backgrounds}
\usepackage{hyperref}
\usepackage{enumerate}

% ============================= Tikz configuration ================================ %
\tikzstyle{decision} = [diamond, draw, fill=blue!20, 
    text width=4.5em, text badly centered, node distance=3cm, inner sep=0pt]
\tikzstyle{block} = [rectangle, draw, fill=gray!20, 
    text width=6em, text centered, rounded corners, minimum height=3.5em]
\tikzstyle{line} = [draw, -latex']
\tikzstyle{cloud} = [draw, ellipse,fill=red!20, node distance=3cm,
    minimum height=2em]
\newif\iffinal 
\usepackage{tikz}
\pgfrealjobname{SingleChapterRendering} % <-- NOTE: this needs to be the real document's basename
                        %     (else you'll only get an empty output file)
\iffinal
  \newcommand{\inputTikZ}[1]{%
    \input{#1.tikz}%
  }
\else
  \newcommand{\inputTikZ}[1]{%
    \beginpgfgraphicnamed{#1-external}%
    \input{#1.tikz}%
    \endpgfgraphicnamed%
  }
\fi
% ============================= End preamble ================================ %
\begin{document}
\pagestyle{fancy}
\fancyhf{}
\rhead{\thechapter{}. \leftmark}
\renewcommand{\chaptermark}[1]{
\markboth{#1}{}}
\rfoot{\thepage}

% ============================= Cover and Title Pages ================================ 


\mainmatter
\input{./Report/Toodoo.tex}


\end{document}

